package com.test.mybatis;

import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.IOException;
import java.io.Reader;

public class MybatisMain {
    public static void main(String[] args) throws IOException {
        Logger log = LoggerFactory.getLogger(MybatisMain.class);
        log.info("test log");

        Reader reader = Resources.getResourceAsReader("");
        SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(reader);

    }
}
